package com.example.testapplication.database;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

public class GoodsDBHelper extends SQLiteOpenHelper {
    private static final String TAG = "GoodsDBHelper";
    private static final String DB_NAME = "goods.db"; // 数据库的名称
    private static final int DB_VERSION = 1; // 数据库的版本号
    private static GoodsDBHelper mHelper = null; // 数据库帮助器实例
    private SQLiteDatabase mDB = null; // 数据库的实例
    private static final String TABLE_NAME ="goods_info"; // 表名

    private GoodsDBHelper(Context context) {
        super(context, DB_NAME, null, DB_VERSION);
    }

    private GoodsDBHelper(Context context, int version) {
        super(context, DB_NAME, null, version);
    }
    @Override
    public void onCreate(SQLiteDatabase sqLiteDatabase) {

    }

    @Override
    public void onUpgrade(SQLiteDatabase sqLiteDatabase, int i, int i1) {

    }
}
